Version 1 (modified by guest, 16 years ago) (diff) |
---|
Sections
AutoUpdate
Intro
check for the latest version of given application
Description
struct AutoUpdate (string $program_name)
Checks for the latest version of application program_name and returns download links and changelog (latest features and bug-fixes).
Parameters
- program_name (required)
-
- name of the program/client application you want to check.
- currently supported values: subdownloader, oscar
Return Values
The returned structure contains these elements:
- status
- function result code, see list of status codes
- seconds
- time taken to execute this command on server
- version
- latest application version
- url_windows
- download URL for Windows version
- url_linux
- download URL for Linux version
- comments
- application changelog and other comments
Implementations
There are currently no available sample implementations.
Changelog
Version 1: created this function
Examples
Input
<methodCall> <methodName>AutoUpdate</methodName> <params> <param> <value><string>oscar</string></value> </param> </params> </methodCall>
Output
<methodResponse> <params> <param> <value> <struct> <member> <name>version</name> <value><string>g2v10</string></value> </member> <member> <name>url_windows</name> <value><string>http://www.opensubtitles.org/addons/download/oscar/oscar.zip</string></value> </member> <member> <name>comments</name> <value><string>this is the latest version, many new features, all bugs fixed</string></value> </member> <member> <name>status</name> <value><string>200 OK</string></value> </member> <member> <name>seconds</name> <value><double>0.004</double></value> </member> </struct> </value> </param> </params> </methodResponse>
Notes
none yet
See also
Comments
add your comments, hints and suggestions here if you like ...
[Prev] Home [Next]